package com.vickw.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @Description：
 * @Author VickW
 * @Date 2022/3/20 18:01
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService fallback paymentInfo_OK ~~~~~~~~~~~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService fallback paymentInfo_TimeOut ~~~~~~~~~~~~";
    }
}
